public class Test {
    public static void main(String[] args) {
        MySingleList list=new MySingleList();
        list.addLast(12);
        list.addFirst(21);
        list.display();
    }
}
